<!-- $Id: adminList.html 39 2011-02-19 17:01:51Z nicholasinlove1986@gmail.com $ -->
<include file="Public:pageheader"/>
<load href="__PUBLIC__/Js/jquery.tableSort.js" />
<div class="list-div" id="listDiv">
<table id="list-table" cellpadding="3" cellspacing="1">
 <tbody>
  <tr>
    <th><a href="javascript:$('#list-table').sortTable({onCol: 1, keepRelationships: true})" title="{$Think.lang.sort}">{$Think.lang.user_name}</a><img src="__PUBLIC__/Images/sort_asc.gif"/></th>
    <th>{$Think.lang.user_nickname}</th>
	<th><a href="javascript:$('#list-table').sortTable({onCol: 2, keepRelationships: true})" title="{$Think.lang.sort}">{$Think.lang.user_email}</a><img src="__PUBLIC__/Images/sort_asc.gif"/></th>
	<th>{$Think.lang.user_lastlogin}</th>
	<th><a href="javascript:$('#list-table').sortTable({onCol: 5, keepRelationships: true, sortType: 'numeric'})" title="{$Think.lang.sort}">{$Think.lang.user_logincount}</a><img src="__PUBLIC__/Images/sort_asc.gif"/></th>  
	<th>{$Think.lang.user_level}</th>
	<th>{$Think.lang.user_status}</th>
    <th>{$Think.lang.handler}</th>
  </tr>
 <volist name="list" id="vo">
  <tr>
    <td style="background-color: rgb(255, 255, 255);" class="first-cell" align="left" width="10%">{$vo.user_name}</td>
    <td style="background-color: rgb(255, 255, 255);" align="left" width="15%">{$vo.user_nickname}</td>
	<td style="background-color: rgb(255, 255, 255);" align="left" width="21%">{$vo.user_email}</td>
	<td style="background-color: rgb(255, 255, 255);" align="center" width="17%"><eq name='vo.user_lastlogin' value='0'>N/A<else/>{$vo.user_lastlogin|date='Y-m-d H:i:s',###}</eq></td>
    <td style="background-color: rgb(255, 255, 255);" align="center" width="8%">{$vo.user_logincount}</td>
	<td style="background-color: rgb(255, 255, 255);" align="center" width="7%"><eq name='vo.user_level' value='1'><img src="__PUBLIC__/Images/user.gif" border="0" height="16" width="16" alt="{$Think.lang.actor_user}"><else /><img src="__PUBLIC__/Images/admin.gif" border="0" height="16" width="16" alt="{$Think.lang.actor_admin}"></eq></td>
	<td style="background-color: rgb(255, 255, 255);" align="center" width="7%"><eq name='vo.user_status' value='1'><img src="__PUBLIC__/Images/yes.gif" border="0" height="14" width="14" alt="{$Think.lang.user_status_on}"><else /><img src="__PUBLIC__/Images/no.gif" border="0" height="14" width="14" alt="{$Think.lang.user_status_un}"></eq></td>
    <td style="background-color: rgb(255, 255, 255);" align="center">
	<a href="#" title="分派权限(disabled)"><img src="__PUBLIC__/Images/icon_priv.gif" border="0" height="16" width="16"></a>&nbsp;&nbsp;
    <a href="__APP__/Admin/adminLog/n/{$vo.user_name}" title="{$Think.lang.see_log}"><img src="__PUBLIC__/Images/icon_view.gif" border="0" width="16" height="16"></a>&nbsp;&nbsp;
	<a href="__APP__/Admin/adminEdit/id/{$vo.user_id}" title="{$Think.lang.edit}"><img src="__PUBLIC__/Images/icon_edit.gif" border="0" width="16" height="16"></a>&nbsp;&nbsp;
    <a href="__APP__/Admin/statusToggle/id/{$vo.user_id}/status/{$vo.user_status}" onclick="return confirm('{$Think.lang.confirm}');" ><eq name='vo.user_status' value='1'><img src="__PUBLIC__/Images/icon_drop.gif" border="0" width="16" height="16" alt="{$Think.lang.user_status_un}"><else /><img src="__PUBLIC__/Images/icon_add.gif" border="0" width="16" height="16" alt="{$Think.lang.user_status_on}"></eq></a></td>
  </tr>
 </volist>
</tbody></table>
</div>
<include file="Public:pagefooter"/> 